#calaculate the fitness of individual
from Graph import Graph
#   0,1,2,3,4
G = Graph()
dist = G.dist
print(dist)
I = [2,3,4,1,0]
fit = 0
for i in range(len(I) - 1):
    fit += dist[i][i+1]

print(fit)

